#pragma once

#include "stdafx.h"

namespace bdc {
	
	typedef struct LoginParam {
		LPCTSTR pMail;
		LPCTSTR pPassword;
	} LoginParam;

	typedef struct GetTagRecordListParam {
		LONG64 tagId;
		LONG64 from;
		LONG64 count;
	} GetTagRecordListParam;

	typedef struct RecordParam {
		LONG64	recordId;
		LPCTSTR pMemory;
		LPCTSTR pDescription;
		LPCTSTR pTag;
	} RecordParam, *LPRecordParam;

	typedef struct TagParam {
		LONG64 tagId;
		LPCTSTR pTag;
	} TagParam, *LPTagParam;

	typedef struct UpdateMemoryParam {
		LONG64 recordId;
		LONG score;
	} UpdateMemoryParam;

	typedef struct WsInvokeInfo {
		UINT threadId;
		IDispatch* pJsMethodDisp;
	} WsInvokeInfo;

	typedef struct ThreadParam {
		UINT threadId;
		void* methodParam;
	} ThreadParam, *LPThreadParam;
}